package org.bonorsoft.modules.education.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.bonorsoft.common.aspect.annotation.Dict;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 教师信息
 * @Author: WilliamYe
 * @Date:   2020-12-07
 * @Version: V1.0
 */
@Data
@TableName("EDU_TEACHER")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Teacher {

	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
	private java.lang.String id;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
	private java.lang.String name;
	/**性别*/
	@Excel(name = "性别", width = 15, dicCode = "edu_sex")
	@Dict(dicCode = "edu_sex")
	private java.lang.String sex;
	/**民族*/
	@Excel(name = "民族", width = 15)
	private java.lang.String national;
	/**出生日期*/
	@Excel(name = "出生日期", width = 15)
	private java.lang.String birthday;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
	private java.lang.String idNumber;
	/**户口所在地*/
	@Excel(name = "户口所在地", width = 15)
	private java.lang.String residenceLocation;
	/**家庭住址*/
	@Excel(name = "家庭住址", width = 15)
	private java.lang.String familyLocation;
	/**常用手机号码*/
	@Excel(name = "常用手机号码", width = 15)
	private java.lang.String mobilePhone;
	/**办公座机*/
	@Excel(name = "办公座机", width = 15)
	private java.lang.String officePhone;
	/**所在学校*/
	@Excel(name = "所在学校", width = 15)
	private java.lang.String school;
	/**任教学科*/
	@Excel(name = "任教学科", width = 15)
	private java.lang.String teachSubjects;
	/**任教年级*/
	@Excel(name = "任教年级", width = 15)
	private java.lang.String teacheGrade;
	/**任教班级*/
	@Excel(name = "任教班级", width = 15)
	private java.lang.String teacheClass;
	/**职务*/
	@Excel(name = "职务", width = 15, dicCode = "edu_position")
	@Dict(dicCode = "edu_position")
	private java.lang.String position;
	/**	学历*/
	@Excel(name = "学历", width = 15, dicCode = "edu_background")
	@Dict(dicCode = "edu_background")
	private java.lang.String educationBackground;
	/**政治面貌*/
	@Excel(name = "政治面貌", width = 15)
	private java.lang.String politicsStatus;
	/**参加工作时间*/
	@Excel(name = "参加工作时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	private java.util.Date workTime;
	/**	照片*/
	@Excel(name = "照片", width=25, height=25, type=2)
	private java.lang.String photo;
	/**创建人*/
	private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	private java.util.Date createTime;
	/**更新人*/
	private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	private java.util.Date updateTime;
}
